﻿/*
 * Created by SharpDevelop.
 * User: xieen
 * Date: 2013-08-19
 * Time: 14:56
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace GoF23Learning._08.Decorator_Pattern.Refactor
{
	/// <summary>
	/// Description of DecoratorB.
	/// </summary>
	public class DecoratorB:Decorator
	{
		public DecoratorB(ITank tank):base(tank)
		{
		}
		public override void Shot()
		{
			Console.WriteLine("DecoratorB Shot") ;
		}
		
		public override void Run()
		{
			Console.WriteLine("DecoratorB Run") ;
		}
	}
}
